projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e442a0
)
* lisp/dired.el (dired-find-alternate-file): Doc fix. (Bug#28963)
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 27 Oct 2017 14:57:58 +0000
(17:57 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 27 Oct 2017 14:57:58 +0000
(17:57 +0300)
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index 9e09d349f7c46c29897b20a566b296b2429dbeef..dad58c615d590873ee5d11debcc8862e5eb47956 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-2226,7
+2226,8
@@
directory in another window."
(find-file (dired-get-file-for-visit))))
(defun dired-find-alternate-file ()
- "In Dired, visit this file or directory instead of the Dired buffer."
+ "In Dired, visit file or directory on current line via `find-alternate-file'.
+This kills the Dired buffer, then visits the current line's file or directory."
(interactive)
(set-buffer-modified-p nil)
(find-alternate-file (dired-get-file-for-visit)))